using System;
using System.Collections.Generic;
using System.Text;

namespace Autobot
{
    class MessageField
    {
        private string id;
        private string value;

        public MessageField(string a_id)
        {
            id = a_id;
        }

        public MessageField(string a_id, string a_value)
        {
            id = a_id;
            value = a_value;
        }

        public string GetID()
        {
            return id;
        }

        public string GetValue()
        {
            return value;
        }

        public void SetValue(string a_value)
        {
            value = a_value;
        }

        public Boolean IsID(string a_id)
        {
            if (id.CompareTo(a_id) == 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
